package com.korubo.web.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.korubo.kit.BaseMode;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "tb_role")
public class Role extends BaseMode implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @TableField(value = "role_name")
    private String roleName;

    @TableField(value = "remaker")
    private String remaker;
    @TableField(exist = false)
    private List<String> menuIds;

    private static final long serialVersionUID = 1L;
}
